package cn.edu.scau.cmi.luotiansheng_chapter5;

public class Circle2 {
	double x;
	double y;
	double r;
	public void setX(double x) {
		this.x=x;
	}
	public double getX() {
		return x;
	}
	public void setY(double y) {
		this.y=y;
	}
	public void setR(double r) {
		if(r>0)
			this.r=r;
	}
	public double getR() {
		return r;
	}
}
